﻿<UserControl x:Class="PocketBook.UI.View.Dialogs.ConfirmDialogView"
            xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
            xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
            xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
            xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
            mc:Ignorable="d" 
            FontFamily="Segoe UI"
            FontWeight="Light"
            FontSize="16"
            Height="180" Width="400">
    <Grid>
        <TabControl  Name="tabControl" Style="{StaticResource BlueTabControl}" Foreground="Black">
            <TabItem Header="Confirm" Name="tabItem1">
                <Grid Margin="6,6,6,6">
                    <Grid.RowDefinitions>
                        <RowDefinition Height="50" />
                        <RowDefinition Height="*" />
                        <RowDefinition Height="50" />
                    </Grid.RowDefinitions>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="*" />
                        <ColumnDefinition Width="Auto" />
                        <ColumnDefinition Width="Auto" />
                    </Grid.ColumnDefinitions>
                    <TextBlock Grid.ColumnSpan="3" Foreground="Black" VerticalAlignment="Bottom" HorizontalAlignment="Center" Text="{Binding Path=Message}" />
                    <Button Grid.Row="2" Grid.Column="1" Content="Delete" HorizontalAlignment="Right" Height="25" Margin="6,6,0,6" VerticalAlignment="Bottom" Width="80"  Command="{Binding DeleteCommand}"/>
                    <Button Grid.Row="2" Grid.Column="2" Content="Cancel" HorizontalAlignment="Right" Height="25" Margin="6,6,0,6" VerticalAlignment="Bottom" Width="80"  Command="{Binding CloseWinow}"/>
                </Grid>
            </TabItem>
        </TabControl>
    </Grid>
</UserControl>
